<template>
  <div>
    二级导航 ---------- {{ route.path }}

  </div>
</template>

<script>
import { reactive, toRefs, ref, computed, watch } from "vue";
import { useStore } from "vuex";
import { useRouter,useRoute } from "vue-router";
import stickyNav from '@/components/app-header-sticky.vue'
export default {
  setup() {
    const router = useRouter();
    const store = useStore();
    // 导入route
    const route = useRoute()
    const data = reactive({});


    console.log(route);
    return { ...toRefs(data),route };
  },
  components:{
    stickyNav
  }
};
</script>
<style scoped lang='scss'>
</style>
